package com.jdbc.bean;

import com.alibaba.fastjson.JSONObject;

import java.io.Serializable;
import java.util.List;

/**
 * Created by CCX on 2018/7/1.
 */
public class InformationBean implements Serializable{

    private long id;//资讯id

    private long send_user_id;//发起人id

    private String message;//资讯信息

    private String fileIds;//关联资讯图片url

    private double send_time;//发布时间



    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getSend_user_id() {
        return send_user_id;
    }

    public void setSend_user_id(long send_user_id) {
        this.send_user_id = send_user_id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getFileIds() {
        return fileIds;
    }

    public void setFileIds(String fileIds) {
        this.fileIds = fileIds;
    }

    public double getSend_time() {
        return send_time;
    }

    public void setSend_time(double send_time) {
        this.send_time = send_time;
    }

    @Override
    public String toString() {
        JSONObject jsonObject=new JSONObject();
        jsonObject.put("id",getId());
        jsonObject.put("send_user_id",getSend_user_id());
        jsonObject.put("message",getMessage());
        jsonObject.put("fileIds",getFileIds());
        jsonObject.put("send_time",getSend_time());
        return jsonObject.toJSONString();
    }
}
